package com.ktgj.customer.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 旅游团号对象 travel_group_number
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class TravelGroupNumber implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 团号表主键 */
    private Long numberId;

    /** 团产品表主键 */
    @Excel(name = "团产品表主键")
    private Long groupId;

    /** 供应商表主键 */
    @Excel(name = "供应商表主键")
    private Long supplierId;

    /** 合同表主键 */
    @Excel(name = "合同表主键")
    private Long contractId;

    /** 旅游团产品名称 */
    @Excel(name = "旅游团产品名称")
    private String groupName;

    /** 团号 */
    @Excel(name = "团号")
    private String groupNumber;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间")
    private Date startTime;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间")
    private Date endTime;

    /** 团号状态 0下架，1上架 */
    @Excel(name = "团号状态 0下架，1上架")
    private String numberStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /** 维护人 */
    @Excel(name = "维护人")
    private Long employeeId;

    /** 价格 */
    @Excel(name = "价格")
    private String price;

    /** 发团时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发团时间")
    private Date numberDate;

    /** 返程时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "返程时间")
    private Date backDate;

    /*----------------------------------------------------------------*/

    /** 错误信息 */
    @Excel(name = "错误信息")
    private String msg;

    /** 团类型 */
    @Excel(name = "团类型")
    private String countryTypeName;

    /** 往返日期 */
    @Excel(name = "往返日期")
    private String roundTrip;

    /** 团号状态 0下架，1上架 */
    @Excel(name = "团号状态 0下架，1上架")
    private String numberStatusName;

    /** 订单量 */
    @Excel(name = "订单量")
    private int orderCount;

    /** 已报名人数 */
    @Excel(name = "已报名人数")
    private int applicantsNum;

    /** 剩余名额 */
    @Excel(name = "剩余名额")
    private int remainingPlaces;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startDate;

    /** 截止时间 */
    @Excel(name = "截止时间")
    private String endDate;

    /** 发团时间 */
    @Excel(name = "发团时间")
    private String numberTime;

    /** 返程时间 */
    @Excel(name = "返程时间")
    private String backTime;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String contractName;

    /** 维护人 */
    @Excel(name = "维护人")
    private String employeeName;

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getNumberTime() {
        return numberTime;
    }

    public void setNumberTime(String numberTime) {
        this.numberTime = numberTime;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public int getRemainingPlaces() {
        return remainingPlaces;
    }

    public void setRemainingPlaces(int remainingPlaces) {
        this.remainingPlaces = remainingPlaces;
    }

    public int getApplicantsNum() {
        return applicantsNum;
    }

    public void setApplicantsNum(int applicantsNum) {
        this.applicantsNum = applicantsNum;
    }

    public int getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(int orderCount) {
        this.orderCount = orderCount;
    }

    public String getNumberStatusName() {
        return numberStatusName;
    }

    public void setNumberStatusName(String numberStatusName) {
        this.numberStatusName = numberStatusName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRoundTrip() {
        return roundTrip;
    }

    public void setRoundTrip(String roundTrip) {
        this.roundTrip = roundTrip;
    }

    public String getCountryTypeName() {
        return countryTypeName;
    }

    public void setCountryTypeName(String countryTypeName) {
        this.countryTypeName = countryTypeName;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public Date getNumberDate() {
        return numberDate;
    }

    public void setNumberDate(Date numberDate) {
        this.numberDate = numberDate;
    }

    public void setNumberId(Long numberId)
    {
        this.numberId = numberId;
    }

    public Long getNumberId() 
    {
        return numberId;
    }
    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setGroupNumber(String groupNumber) 
    {
        this.groupNumber = groupNumber;
    }

    public String getGroupNumber() 
    {
        return groupNumber;
    }

    public void setNumberStatus(String numberStatus) 
    {
        this.numberStatus = numberStatus;
    }

    public String getNumberStatus() 
    {
        return numberStatus;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    public Date getBackDate() {
        return backDate;
    }

    public void setBackDate(Date backDate) {
        this.backDate = backDate;
    }

    public String getBackTime() {
        return backTime;
    }

    public void setBackTime(String backTime) {
        this.backTime = backTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("numberId", getNumberId())
            .append("groupId", getGroupId())
            .append("supplierId", getSupplierId())
            .append("contractId", getContractId())
            .append("groupName", getGroupName())
            .append("groupNumber", getGroupNumber())
            .append("numberStatus", getNumberStatus())
            .append("createTime", getCreateTime())
            .append("employeeId", getEmployeeId())
            .append("price", getPrice())
            .append("numberDate", getNumberDate())
            .toString();
    }
}
